

<h1 class="title"><?php echo __("Lista de Publicaciones")?></h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Publication</th>
      <th>Price type</th>
      <th>Description</th>
      <th>Amount</th>
      <th>Discount</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($publication_prices as $publication_price): ?>
    <tr>
      <td><a href="<?php echo url_for('publication_prices/show?id='.$publication_price->getId()) ?>"><?php echo $publication_price->getId() ?></a></td>
      <td><?php echo $publication_price->getPublicationId() ?></td>
      <td><?php echo $publication_price->getPriceTypeId() ?></td>
      <td><?php echo $publication_price->getDescription() ?></td>
      <td><?php echo $publication_price->getAmount() ?></td>
      <td><?php echo $publication_price->getDiscount() ?></td>
      <td><?php echo $publication_price->getCreatedAt() ?></td>
      <td><?php echo $publication_price->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a class="button" href="<?php echo url_for('publication_prices/new') ?>">New</a>
